//ansic
.keyboard-ansic{
  width:942px;
  height:367px;
  background: #bec1c8;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  li,ol{
    float: left;

    height: 56px;
    width:56px;
    margin-bottom: 8px;
    margin-right: 8px;
    background: #9e9e9e;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18) inset;
    border-top: none;
    border-radius: 5px;
  }
  li>div{
    position: absolute;
    display: flex;
    width:56px;
    height:56px;
    border-radius: 5px;
    background: #eff0f2;
    border-top: 1px solid #f5f5f5;
    box-shadow: inset 0 0 25px #e8e8e8, 0 1px 0 #c3c3c3, 0 2px 0 #c9c9c9, 0 2px 3px #333;
    cursor:pointer;
    justify-content: space-between;
    flex-direction: column;
    z-index: 2;
  }

  span{
    display: block;
    text-align: center;
    height: 28px;
    line-height: 28px;
    flex: 0.5;
    font-size: 14px;
    color:#a5a6aa ;
    user-select: none;
  }

  .first-line{

    height:25px;
  }
  .first-line>div{
    height:25px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-direction: row;
  }
  .first-line span{
    flex: 0.5;
    height: 25px;
    line-height: 25px;
  }


li:active div, li.active div{
  box-shadow: inset 0 0 10px #ccc, 0 0 3px #333;
  border-top: 1px solid #eee;
  //background: rgba(230, 230, 230, 1);
  background-color: #ffd52f;
}
li:active  div > span, li.active  div > span{
  color: @black87;
}

  .clear-margin{
    margin-right: 0;

  }

  .esc,.esc div{
    width: 90px;
  }

  .enter,.enter div{
    width:105px;
  }
  .control,.control div{

  }
  .shift,.shift div{
    width: 137px;
  }
  .command,.command div{
    width: 72px;
  }
  .space,.space div{
    width: 314px;
  }



  /*方向键*/
  .arrow{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #bec1c8;
    box-shadow: none;
    border: none;
  }
  .arrow li{
    height:25px;
    margin: 0;
  }
  .arrow div{
    display: flex;
    justify-content: space-between;
    height:25px;
    flex-direction: row;

  }

  .arrow .icon{
    padding-top: 5px;
  }


  .arrow span{
    height: 25px;
    flex: 0.5;
  }


  /*没有按键的键盘 */

  /*原料键盘   */
  .start{
    left: 461px !important;
    top: 188px !important;
    transform: translateX(-50%) translateY(-50%) scale(2);
    z-index: 100;
    animation: up 1s linear forwards;
    animation-delay: 1s;


  }

  .back{
    left: 461px !important;
    top: 188px !important;
    transform: translateX(-50%) translateY(-50%) scale(2);
    z-index: 100;
    animation: down 2s linear forwards;

  }
  @keyframes up {
    0%{top:188px }
    100%{top:-230px;visibility: hidden; }
  }
  @keyframes down {
    0%{opacity:0; }
    99%{opacity: 0;}
    100%{opacity:1 }
  }


  /*选中状态*/
  .chosen{
    box-shadow: 2px 2px 4px #3d8cfd,-2px -2px 4px #3d8cfd,2px -2px 4px #3d8cfd,-2px 2px 4px #3d8cfd;
  }
  /*空键盘*/
  .empty{
    opacity: 0;
  }
}

//iso
.keyboard-iso{
  width:942px;
  height:367px;
  background: #bec1c8;
  border-radius: 10px;
  padding: 10px;
  position: relative;
li,ol{
  float: left;

  height: 56px;
  width:56px;
  margin-bottom: 8px;
  margin-right: 8px;
  background: #9e9e9e;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18) inset;
  border-top: none;
  border-radius: 5px;
}
li>div{
  display: flex;
  position: absolute;
  width:56px;
  height:56px;
  border-radius: 5px;
  background: #eff0f2;
  border-top: 1px solid #f5f5f5;
  box-shadow: inset 0 0 25px #e8e8e8, 0 1px 0 #c3c3c3, 0 2px 0 #c9c9c9, 0 2px 3px #333;
  cursor:pointer;
  transition:1s;
  justify-content: space-between;
  flex-direction: column;
  z-index: 2;
}

span{
  display: block;
  text-align: center;
  height: 28px;
  line-height: 28px;
  flex: 0.5;
  font-size: 14px;
  color:#a5a6aa ;
  user-select: none;
}

.first-line{

  height:25px;
}
.first-line>div{
  height:25px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-direction: row;
}
.first-line span{
  flex: 0.5;
  height: 25px;
  line-height: 25px;
}
.arrow-key li span.icon{
  padding-top:6px;
}

li:active div, li.active div{
  box-shadow: inset 0 0 10px #ccc, 0 0 3px #333;
  border-top: 1px solid #eee;
  //background: rgba(230, 230, 230, 1);
  background-color: #ffd52f;
}
li:active  div > span, li.active  div > span{
  color: @black87;
}

.clear-margin{
  margin-right: 0;

}

.esc,.esc div{
  width: 90px;
}

.enter,.enter div{
  width:106px;
}
.control,.control div{

}
.shift1,.shift1 div{
  width: 75px;
}
.shift2,.shift2 div{
  width: 135px;
}
.command,.command div{
  width: 72px;
}
.space,.space div{
  width: 314px;
}
.return{
  width: 56px;
}
.return:after{
  content: '';
  position:absolute;
  right: 10px;
  top:107px;
  height: 120px;
  background: #9e9e9e;
  width: 40px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18) inset;
  border-top: none;
  border-radius: 0 5px 5px 5px;
  z-index: 1;

}

.return:before{
  content: '';
  position: absolute;
  right: 45px;
  width: 10px;
  height: 52px;
  top:111px;
  background: #9e9e9e;

  z-index: 2;
}
.return div{
  height: 120px;
  width: 56px;
  background: transparent;
  box-shadow: none;
  border: none;
  display: block;
  z-index: 100;
}
.return span{
  background: #ededef;

}

.return div:after{
  content: '';
  position: absolute;
  width: 40px;
  top:50px;
  left: 16px;
  height: 14px;
  background: #ededef;
}
.return span:nth-of-type(1){
  box-shadow: 0 0 3px #333;
  border-radius: 5px 5px 0 5px;
  height: 56px;
  border-top:1px solid #f5f5f5;


}
.return span:nth-of-type(2){
  border-radius: 0 0 5px 5px;
  height: 64px;
  margin-left: 16px;
  box-shadow: 0 2px 0 #c3c3c3, 0 2px 3px #1d1c1c,0 -2px 3px #ededef ;
}

/*方向键*/
.arrow{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #bec1c8;
  box-shadow: none;
  border: none;
}
.arrow li{
  height:25px;
  margin: 0;
}
.arrow div{
  display: flex;
  justify-content: space-between;
  height:25px;
  flex-direction: row;

}

.arrow .icon{
  padding-top: 5px;
}


.arrow span{
  height: 25px;
  flex: 0.5;
}


/*没有按键的键盘 */

/*原料键盘   */
.start{
  left: 461px !important;
  top: 188px !important;
  transform: translateX(-50%) translateY(-50%) scale(2);
  z-index: 100;
  animation: up 1s linear forwards;
  animation-delay: 1s;


}

.back{
  left: 461px !important;
  top: 188px !important;
  transform: translateX(-50%) translateY(-50%) scale(2);
  z-index: 100;
  animation: down 2s linear forwards;

}
@keyframes up {
  0%{top:188px }
  100%{top:-230px;visibility: hidden; }
}
@keyframes down {
  0%{opacity:0; }
  99%{opacity: 0;}
  100%{opacity:1 }
}


/*选中状态*/
.chosen{
  box-shadow: 2px 2px 4px #3d8cfd,-2px -2px 4px #3d8cfd,2px -2px 4px #3d8cfd,-2px 2px 4px #3d8cfd;
}
/*空键盘*/
.empty{
  opacity: 0;
}
}

//jis
.keyboard-jis{
  position: relative;
  width:942px;
  height:367px;
  background: #bec1c8;
  border-radius: 10px;
  padding: 10px;

  li,ol{
  float: left;
  height: 56px;
  width:56px;
  margin-bottom: 8px;
  margin-right: 8px;
  background: #9e9e9e;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18) inset;
  border-top: none;
  border-radius: 5px;
}
li>div{
  display: flex;
  position: absolute;
  width:56px;
  height:56px;
  border-radius: 5px;
  background: #eff0f2;
  border-top: 1px solid #f5f5f5;
  box-shadow: inset 0 0 25px #e8e8e8, 0 1px 0 #c3c3c3, 0 2px 0 #c9c9c9, 0 2px 3px #333;
  cursor:pointer;
  transition:1s;
  justify-content: space-between;
  flex-direction: column;
  z-index: 2;
}

span{
  display: block;
  text-align: center;
  height: 28px;
  line-height: 28px;
  flex: 0.5;
  font-size: 14px;
  color:#a5a6aa ;
  user-select: none;
}

.first-line{

  height:25px;
}
.first-line>div{
  height:25px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-direction: row;
}
.first-line span{
  flex: 0.5;
  height: 25px;
  line-height: 25px;
}
.arrow-key li span.icon{
  padding-top:6px;
}

li:active div, li.active div{
  box-shadow: inset 0 0 10px #ccc, 0 0 3px #333;
  border-top: 1px solid #eee;
  //background: rgba(230, 230, 230, 1);
  background-color: #ffd52f;
}
li:active  div > span, li.active  div > span{
  color: @black87;
}

.clear-margin{
  margin-right: 0;

}

.esc,.esc div{
  width: 90px;
}

.enter,.enter div{
  width:73px;
}
.control,.control div{

}
.shift,.shift div{
  width: 105px;
}
.command,.command div{
  width: 72px;
}
.space,.space div{
  width: 218px;
}
.return{
  width: 90px;
}
.return:before{
  content: '';
  position:absolute;
  right: 10px;
  top:107px;
  height: 120px;
  background: #9e9e9e;
  width: 74px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18) inset;
  border-top: none;
  border-radius: 0 5px 5px 5px;
  z-index: 1;

}
.return:after{
  content: '';
  position: absolute;
  right: 79px;
  width: 10px;
  height: 52px;
  top:111px;
  background: #9e9e9e;
  z-index: 2;
}
.return div{
  height: 120px;
  width: 90px;
  background: transparent;
  box-shadow: none;
  border: none;
  z-index: 100;
}
.return span{
  background: #ededef;

}

.return div:after{
  content: '';
  position: absolute;
  width: 74px;
  top:50px;
  left: 16px;
  height: 14px;
  background: #ededef;
}
.return span:nth-of-type(1){
  box-shadow: 0 0 3px #333;
  border-radius: 5px 5px 0 5px;
  height: 56px;
  border-top:1px solid #f5f5f5;


}
.return span:nth-of-type(2){
  border-radius: 0 0 5px 5px;
  height: 64px;
  margin-left: 16px;
  box-shadow: 0 2px 0 #c3c3c3, 0 2px 3px #1d1c1c,0 -2px 3px #ededef ;
}
.cov{
  content: '';
  position:absolute;
  height: 64px;
  width:16px;
  left:0;
  top: 56px;
  background: #bec1c8;
  border-radius:0 5px 0 0;
  box-shadow: -2px 0 1px #bec1c8,0 3px 1px #bec1c8,0 1px 0 #c3c3c3;
  border-top: 1px solid #ececed;

}
/*方向键*/
.arrow{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #bec1c8;
  box-shadow: none;
  border: none;
}
.arrow li{
  height:25px;
  margin: 0;
}
.arrow div{
  display: flex;
  justify-content: space-between;
  height:25px;
  flex-direction: row;

}

.arrow .icon{
  padding-top: 5px;
}


.arrow span{
  height: 25px;
  flex: 0.5;
}


/*没有按键的键盘 */

/*原料键盘   */
.start{
  left: 461px !important;
  top: 188px !important;
  transform: translateX(-50%) translateY(-50%) scale(2);
  z-index: 100;
  animation: up 1s linear forwards;
  animation-delay: 1s;


}

.back{
  left: 461px !important;
  top: 188px !important;
  transform: translateX(-50%) translateY(-50%) scale(2);
  z-index: 100;
  animation: down 2s linear forwards;

}
@keyframes up {
  0%{top:188px }
  100%{top:-230px;visibility: hidden; }
}
@keyframes down {
  0%{opacity:0; }
  99%{opacity: 0;}
  100%{opacity:1 }
}


/*选中状态*/
.chosen{
  box-shadow: 2px 2px 4px #3d8cfd,-2px -2px 4px #3d8cfd,2px -2px 4px #3d8cfd,-2px 2px 4px #3d8cfd;
}
/*空键盘*/
.empty{
  opacity: 0;
}
}














